<?php

class Mac_Db_Type_Abstract
{
    public static function getAll ()
    {
        $refl = new ReflectionClass(get_called_class());
        return $refl->getConstants();
    }
}